import service from '@/utils/request'
/**
 * 商户、第三方
 */
const SoftwareApi = {
  uploadVersion: function(data) {
    return service.post('software/newDate', data)
  },
  addSoftware(data) {
    return service.post('software', data)
  },
  editSoftware(data) {
    return service.put('software', data)
  },
  deleteSoftware(data) {
    return service.put('software/delete', data)
  },
  listSoftware(data) {
    return service.get('software/page', {params: data })
  },

  detailSoftware(data) {
    return service.get('software', {params: data })
  },
  listVersion(data) {
    return service.get('softwareVersion/page', {params: data })
  },
  

}

export default SoftwareApi